/*
 * @Descripttion:
 * @Author: voanit
 * @Date: 2022-05-03 16:13:14
 * @LastEditors: voanit
 * @LastEditTime: 2022-05-08 14:40:18
 */
import React from 'react'
import {
  BrowserRouter as Router,
  Route,
  Link,
  NavLink,
  Switch,
  Redirect,
} from 'react-router-dom'
import First from './views/Router/admin/First'
import Second from './views/Router/admin/Second'
import Third from './views/Router/admin/Third'
import Logout from './views/Router/admin/Logout'
import Layout from './views/Router/admin/Layout'
import './App.css'
class App extends React.Component {
  render() {
    return (
      <Router>
        <div className="app">
          {/* <Redirect from="/" to="/layout/first"></Redirect> */}
          <Route exact path="/" component={Layout}></Route>
          <Route path="/layout" component={Layout}></Route>
          <Route path="/logout" component={Logout}></Route>
        </div>
      </Router>
    )
  }
}
export default App
